MyShowDocument
Displays the contents of a URL passed back by an instantiated applet. This is how you would define your output function if you were to name itMyShowDocument
:
void MyShowDocument (JMAppletViewerRef viewer, const JMTextRef urlString, const JMTextRef windowName);
viewer
- The current applet.
urlString
- A text object containing the URL passed by the applet.
windowName
- A text object describing the type of window to display the URL contents.
DISCUSSION
When callingJMNewAppletViewer
, you must designate this function in the applet callbacks structure.The session passes one of the strings in Table 2-1 in the
WindowName
parameter, and your application should display the URL contents accordingly.
SEE ALSO
TheJMNewAppletViewer
function.